The Art of Computer Programming, Volume 3: Sorting and Searching, Second Edition by Donald E. Knuth
Author:Donald E. Knuth [Knuth, Donald E.]
Language: eng
Format: epub, pdf
Publisher: Addison-Wesley Professional
Published: 1998-11-05T23:00:00+00:00
Fig. 5. A comparison tree that corresponds to binary search when N = 16.
When N is 16, the first comparison made by the algorithm is K : K8; this is represented by the root node in the figure. Then if K < K8, the algorithm follows the left subtree, comparing K to K4; similarly if K > K8, the right subtree is used. An unsuccessful search will lead to one of the external square nodes numbered through ; for example, we reach node if and only if K6 < K < K7.
The binary tree corresponding to a binary search on N records can be constructed as follows: If N = 0, the tree is simply . Otherwise the root node is
Download
The Art of Computer Programming, Volume 3: Sorting and Searching, Second Edition by Donald E. Knuth.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(14777)
The Mikado Method by Ola Ellnestam Daniel Brolund(12037)
Hello! Python by Anthony Briggs(11948)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(11367)
Dependency Injection in .NET by Mark Seemann(11134)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(10527)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(9965)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(9572)
Grails in Action by Glen Smith Peter Ledbrook(9291)
Hit Refresh by Satya Nadella(9039)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(8892)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(8758)
The Kubernetes Operator Framework Book by Michael Dame(8473)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(8359)
Exploring Deepfakes by Bryan Lyon and Matt Tora(8294)
Robo-Advisor with Python by Aki Ranin(8247)
Practical Computer Architecture with Python and ARM by Alan Clements(8222)
Implementing Enterprise Observability for Success by Manisha Agrawal and Karun Krishnannair(8192)
Building Low Latency Applications with C++ by Sourav Ghosh(8096)